package com.example.demo.service.impl;

import com.example.demo.dao.Blog_article;
import com.example.demo.mapper.Blog_articleMapper;
import com.example.demo.service.Blog_articleservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Blog_articleserviceimpl implements Blog_articleservice {
    @Autowired
    Blog_articleMapper blog_articleMapper;


    @Override
    public int deleteByPrimaryKey(Integer articleId) {
        return blog_articleMapper.deleteByPrimaryKey(articleId);
    }

    @Override
    public int insert(Blog_article record) {
        return blog_articleMapper.insert(record);
    }

    @Override
    public int insertSelective(Blog_article record) {
        return insertSelective(record);
    }

    @Override
    public Blog_article selectByPrimaryKey(Integer articleId) {
        return blog_articleMapper.selectByPrimaryKey(articleId);
    }

    @Override
    public int updateByPrimaryKeySelective(Blog_article record) {
        return blog_articleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKeyWithBLOBs(Blog_article record) {
        return blog_articleMapper.updateByPrimaryKeyWithBLOBs(record);
    }

    @Override
    public int updateByPrimaryKey(Blog_article record) {
        return updateByPrimaryKey(record);
    }
}
